import { createStore, applyMiddleware } from 'redux'
import { thunk } from 'redux-thunk'
import logger from 'redux-logger' //日志
import promise  from 'redux-promise';
import rootReducer from './rootReducer'
export default createStore(rootReducer, applyMiddleware(thunk, logger,promise))
